From: Florian Müllner Date: Fri, 21 Aug 2020 19:30:03 +0000 (+0200) Subject: status/bluetooth: Fix label for >1 connected devices X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ba804de15eea2979c06c2e30c0427a54b9ddbed4;p=gnome-shell.git status/bluetooth: Fix label for >1 connected devices Eeeks, we want two strings here, not one with embedded double quotes. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3073 --- diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 8510944f5..98ccc3d31 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -145,7 +145,7 @@ class Indicator extends PanelMenu.SystemIndicator { if (nConnectedDevices > 1) /* Translators: this is the number of connected bluetooth devices */ - this._item.label.text = ngettext('%d Connected", "%d Connected', nConnectedDevices).format(nConnectedDevices); + this._item.label.text = ngettext('%d Connected', '%d Connected', nConnectedDevices).format(nConnectedDevices); else if (nConnectedDevices === 1) this._item.label.text = connectedDevices[0].name; else if (adapter === null)